<h1>Management team List</h1>

<table class='sortable' id='sortable'>
  <thead>
    <tr>
      <th>Id</th>
      <th>Position</th>
      <th>Name</th>

    </tr>
  </thead>
  <tbody>
    <?php foreach ($management_team_list as $management_team): ?>
    <tr>
      <td><a href="<?php echo url_for('management_team/show?id='.$management_team['id']) ?>"><?php echo $management_team->getid() ?></a></td>
      <td><?php echo $management_team->getposition() ?></td>
      <td><?php echo $management_team->getname() ?></td>

    </tr>
    <?php endforeach; ?>
  </tbody>
</table>


<a href="<?php echo url_for('management_team/new?client_id='.$client_id) ?>">New</a>

<?php slot('submenu') ?>
<ul>
	<li><?php echo link_to(image_tag('contact info.png', array('title'=>"Contact Info", 'width'=>'65px')), 'mc/show?id='.$client_id) ?></li>
	<li><?php echo link_to(image_tag('officers.png', array('title'=>"Officers", 'width'=>'65px')),'officers/index?client_id='.$client_id) ?></li>
	<li><?php echo link_to(image_tag('managementteam.png', array('title'=>"ManagementTeam", 'width'=>'65px')),'management_team/index?client_id='.$client_id) ?></li>
	<li><?php echo link_to(image_tag('companydescription.png', array('title'=>"Company Description", 'width'=>'65px')), 'company_description/index?client_id='.$client_id) ?></li>
	<li><?php echo link_to(image_tag('other note.png', array('title'=>"Other Notes", 'width'=>'65px')), 'mc_note/index?client_id='.$client_id) ?></li>		
</ul>
<?php end_slot() ?>